$OpenBSD: patch-ofstd_include_dcmtk_ofstd_ofoset_h,v 1.1 2017/05/06 16:59:31 espie Exp $
two phase name lookup + dirty deletes

Index: ofstd/include/dcmtk/ofstd/ofoset.h
--- ofstd/include/dcmtk/ofstd/ofoset.h.orig
+++ ofstd/include/dcmtk/ofstd/ofoset.h
@@ -151,7 +151,7 @@ template <class T> class OFOrderedSet : public OFSet<T
       {
         // if size equals num, we need more space
         if( this->size == this->num )
-          Resize( this->size * 2 );
+          this->Resize( this->size * 2 );
 
         // copy item
         T *newItem = new T( item );
@@ -194,7 +194,7 @@ template <class T> class OFOrderedSet : public OFSet<T
         {
           // if size equals num, we need more space
           if( this->size == this->num )
-            Resize( this->size * 2 );
+            this->Resize( this->size * 2 );
 
           // copy item
           T *newItem = new T( item );
@@ -216,7 +216,7 @@ template <class T> class OFOrderedSet : public OFSet<T
           }
 
           // delete old array
-          delete this->items;
+          delete [] this->items;
 
           // assign new array to member variable
           this->items = tmp;
